package com.hgx.su.common.pure.dto;

import java.io.Serializable;

/**
 * 分页请求
 */
public class CommonPageReqDto implements Serializable {
    /**
     * 页码
     */
    private int pageNum = 1;

    /**
     * 分页大小
     */
    private int pageSize = 10;

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("BasePageReqDto{");
        sb.append("pageNum=").append(pageNum);
        sb.append(", pageSize=").append(pageSize);
        sb.append('}');
        return sb.toString();
    }
}
